#pragma once
#ifndef __G_CONE_H__
#define __G_CONE_H__

#include "GVector3.h"
#include "GUtilities/GTypes.h"


namespace GMath
{

	class GCone
	{
	public:
		float			Radius;
		float			Height;
		GVector3		Front;
		GVector3		Position;

						GCone();
						GCone(float TheRadius, float TheHeight, const GVector3& TheFront, const GVector3& ThePosition);
						~GCone();

		void			Create(float TheRadius, float TheHeight, const GVector3& TheFront, const GVector3& ThePosition);

		float			GetArea() const;
		float			GetVolume() const;
	};

}

#endif